package com.registerspringbootstarter.service;

import org.springframework.stereotype.Service;

@Service
public class RegisterService {
	private String username;
	private String password;
	private String telephone;
	public void register(){
		System.out.println("注册成功！你的信息如下：");
		System.out.println("用户名："+username);
		System.out.println("密码："+password);
		System.out.println("电话："+telephone);
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
}
